using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
	[Serializable]
	public class BsMatinstockdetailEntity : EntityBase
	{
		public BsMatinstockdetailTable TableSchema
		{
			get
			{
				return (BsMatinstockdetailTable)_tableSchema;
			}
		}

		public BsMatinstockdetailEntity()
		{
			_tableSchema = BsMatinstockdetailTable.Current;
		}

		#region 属性列表
		
		public Decimal? BillDetailID
		{

			
			get{ return GetData<Decimal>(BsMatinstockdetailTable.C_BILLDETAILID); }
			
			
			set{ SetData(BsMatinstockdetailTable.C_BILLDETAILID, value); }
		}

		
		public String BillID
		{

							
			get{ return Convert.ToString(GetData(BsMatinstockdetailTable.C_BILLID));} 

			
			set{ SetData(BsMatinstockdetailTable.C_BILLID, value); }
		}

		
		public String PurchaseID
		{

							
			get{ return Convert.ToString(GetData(BsMatinstockdetailTable.C_PURCHASEID));} 

			
			set{ SetData(BsMatinstockdetailTable.C_PURCHASEID, value); }
		}

		
		public Decimal? PurchaseDetailID
		{

			
			get{ return GetData<Decimal>(BsMatinstockdetailTable.C_PURCHASEDETAILID); }
			
			
			set{ SetData(BsMatinstockdetailTable.C_PURCHASEDETAILID, value); }
		}

		
		public String WorkOrderNo
		{

							
			get{ return Convert.ToString(GetData(BsMatinstockdetailTable.C_WORKORDERNO));} 

			
			set{ SetData(BsMatinstockdetailTable.C_WORKORDERNO, value); }
		}

		
		public String MaterialID
		{

							
			get{ return Convert.ToString(GetData(BsMatinstockdetailTable.C_MATERIALID));} 

			
			set{ SetData(BsMatinstockdetailTable.C_MATERIALID, value); }
		}

		
		public Decimal? Price
		{

			
			get{ return GetData<Decimal>(BsMatinstockdetailTable.C_PRICE); }
			
			
			set{ SetData(BsMatinstockdetailTable.C_PRICE, value); }
		}

		
		public Decimal? Nums
		{

			
			get{ return GetData<Decimal>(BsMatinstockdetailTable.C_NUMS); }
			
			
			set{ SetData(BsMatinstockdetailTable.C_NUMS, value); }
		}

		
		public Decimal? Amount
		{

			
			get{ return GetData<Decimal>(BsMatinstockdetailTable.C_AMOUNT); }
			
			
			set{ SetData(BsMatinstockdetailTable.C_AMOUNT, value); }
		}

		
		public Decimal? MMNumber
		{

			
			get{ return GetData<Decimal>(BsMatinstockdetailTable.C_MMNUMBER); }
			
			
			set{ SetData(BsMatinstockdetailTable.C_MMNUMBER, value); }
		}

		
		public String CheckResult
		{

							
			get{ return Convert.ToString(GetData(BsMatinstockdetailTable.C_CHECKRESULT));} 

			
			set{ SetData(BsMatinstockdetailTable.C_CHECKRESULT, value); }
		}

		
		public String UnqualifyReason
		{

							
			get{ return Convert.ToString(GetData(BsMatinstockdetailTable.C_UNQUALIFYREASON));} 

			
			set{ SetData(BsMatinstockdetailTable.C_UNQUALIFYREASON, value); }
		}

		
		public String UnqualifyMethod
		{

							
			get{ return Convert.ToString(GetData(BsMatinstockdetailTable.C_UNQUALIFYMETHOD));} 

			
			set{ SetData(BsMatinstockdetailTable.C_UNQUALIFYMETHOD, value); }
		}

		
		public Decimal? QualifiyNum
		{

			
			get{ return GetData<Decimal>(BsMatinstockdetailTable.C_QUALIFIYNUM); }
			
			
			set{ SetData(BsMatinstockdetailTable.C_QUALIFIYNUM, value); }
		}

		
		public Decimal? QualifyMMNumber
		{

			
			get{ return GetData<Decimal>(BsMatinstockdetailTable.C_QUALIFYMMNUMBER); }
			
			
			set{ SetData(BsMatinstockdetailTable.C_QUALIFYMMNUMBER, value); }
		}

		
		public Decimal? UnqualifyNum
		{

			
			get{ return GetData<Decimal>(BsMatinstockdetailTable.C_UNQUALIFYNUM); }
			
			
			set{ SetData(BsMatinstockdetailTable.C_UNQUALIFYNUM, value); }
		}

		
		public Decimal? CompromiseNum
		{

			
			get{ return GetData<Decimal>(BsMatinstockdetailTable.C_COMPROMISENUM); }
			
			
			set{ SetData(BsMatinstockdetailTable.C_COMPROMISENUM, value); }
		}

		
		public Decimal? CompromiseDebit
		{

			
			get{ return GetData<Decimal>(BsMatinstockdetailTable.C_COMPROMISEDEBIT); }
			
			
			set{ SetData(BsMatinstockdetailTable.C_COMPROMISEDEBIT, value); }
		}

		
		public String CheckUserID
		{

							
			get{ return Convert.ToString(GetData(BsMatinstockdetailTable.C_CHECKUSERID));} 

			
			set{ SetData(BsMatinstockdetailTable.C_CHECKUSERID, value); }
		}

		
		#endregion
	}
}

